package com.imooc.bo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import javax.validation.constraints.NotBlank;
import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class EditResumeBO {

    @NotBlank(message = "简历id不能为空")
    private String id;

    @NotBlank(message = "用户id不能为空")
    private String userId;

    private String advantage;

    private String advantageHtml;

    /*
        资格证书
     */
    private String credentials;

    /*
        技能标签
     */
    private String skills;

    /*
        求职状态
     */
    private String status;

    @JsonFormat(locale = "zh", timezone = "GMT+8", pattern = "yyyy-MM-dd")
    private LocalDateTime refreshTime;
}
